package com.song.guli.service.trade.fegin.fallback;

import com.song.guli.common.base.result.R;
import com.song.guli.service.base.dto.CourseDto;
import com.song.guli.service.trade.fegin.EduCourseService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * @author 宋超
 * HP - the login name of the current user.
 * 2021/5/18 - the current system date.
 * 11:09 - the current system time.
 */

@Service
@Slf4j
public class EduCourseServiceFallBack implements EduCourseService {
    @Override
    public CourseDto getCourseDtoById(String courseId) {
        log.info("熔断保护");
        return null;
    }

    @Override
    public R updateBuyCountById(String id) {
        log.info("熔断保护");
        return null;
    }
}
